package com.vietnam.power.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class CuongController {

	@RequestMapping("/sayHello")
	public ModelAndView sayHello() {
		ModelAndView mav = new ModelAndView("hello");
		
		mav.addObject("message","Hello, I am Cuong");
		
		return mav;
	
	}
}
